import 'package:flutter/cupertino.dart';

class CustomerTabController extends ChangeNotifier {
  int _index = 0;
  late final int length;//ths
  CustomerTabController(this.length);

  changeIndex(int index) {
    if (_index == index) return;
    _index = index;
    debugPrint("changeIndex:$index");
    notifyListeners();
  }

  int get index => _index;
}
